package huahua.microservicesimpleconsumermovie.remote;

import huahua.microservicesimpleconsumermovie.entity.User;
import org.springframework.stereotype.Component;

/**
 * @author: zhanghuadi
 * @date: 2018/5/7 0007
 * @description: User远程调用熔断控制
 */
@Component
public class UserRemoteHystrix implements UserRemote {
    @Override
    public User user(Long id) {
        User user = new User();
        user.setId(111L);
        return user;
    }
}
